package com.student.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
public class XueSheng {
    //学生编号
    private Integer stuId;
    //学生姓名
    private String stuName;
    //学生性别
    private String sex;
    //学生联系电话
    private String phone;
    //学生入住时间
    private Date joinDate;
    //学生班级ID
    private Integer fkClassId;
    //学生房间ID
    private Integer fkRoomId;
    //学生头像地址
    private String imgPath;
    //学生对象里面包含一个room对象
    private Room room;
    //班级名字
    private String cName;
    //教师名字
    private String tName;

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(Date joinDate) {
        this.joinDate = joinDate;
    }

    public Integer getFkClassId() {
        return fkClassId;
    }

    public void setFkClassId(Integer fkClassId) {
        this.fkClassId = fkClassId;
    }

    public Integer getFkRoomId() {
        return fkRoomId;
    }

    public void setFkRoomId(Integer fkRoomId) {
        this.fkRoomId = fkRoomId;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }
}
